import request from '@/utils/request'

// 查询转售订单明细项列表
export function listResellcustomerorderline(query) {
  return request({
    url: '/resell/resellcustomerorderline/list',
    method: 'get',
    params: query
  })
}

// 查询转售订单明细项详细
export function getResellcustomerorderline(orderLineItemId) {
  return request({
    url: '/resell/resellcustomerorderline/' + orderLineItemId,
    method: 'get'
  })
}

// 新增转售订单明细项
export function addResellcustomerorderline(data) {
  return request({
    url: '/resell/resellcustomerorderline',
    method: 'post',
    data: data
  })
}

// 修改转售订单明细项
export function updateResellcustomerorderline(data) {
  return request({
    url: '/resell/resellcustomerorderline',
    method: 'put',
    data: data
  })
}

// 删除转售订单明细项
export function delResellcustomerorderline(orderLineItemId) {
  return request({
    url: '/resell/resellcustomerorderline/' + orderLineItemId,
    method: 'delete'
  })
}
